package org.suk.dp.event.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.suk.dp.LotteryResult;
/**
 * @description: 短信通知事件监听器
 * @Date : 2020/12/30 10:44 AM
 * @Author : 石冬冬-Seig Heil
 */
public class MessageEventListener implements EventListener {

    private Logger logger = LoggerFactory.getLogger(MessageEventListener.class);

    @Override
    public void doEvent(LotteryResult result) {
        logger.info("给用户 {} 发送短信通知(短信)：{}", result.getuId(), result.getMsg());
    }

}